package com.dsg.entity.apply;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 申请单附件资料
 *
 * 注意：数据库已不使用此表，只用dsg_sys_file
 * </p>
 *
 * @author system
 * @since 2020-07-10
 */
@Deprecated
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dsg_apply_encl")
@ApiModel(value="DsgApplyEncl对象", description="申请单附件资料")
public class DsgApplyEncl implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "图片BASE64")
    @TableField(exist = false)
    private String base64;

    @ApiModelProperty(value = "文件类型")
    @TableField(exist = false)
    private String fileType;

    @ApiModelProperty(value = "关联ID")
    @TableField("REL_ID")
    private String relId;

    @ApiModelProperty(value = "申请单号")
    @TableField("APP_NO")
    private String appNo;

    @ApiModelProperty(value = "附件类型")
    @TableField("ENCL_TYPE")
    private Integer enclType;

//    @ApiModelProperty(value = "附件路径")
//    @TableField("ENCL_PATH")
//    private String enclPath;


    /**
     * 创建人
     */
    @TableField(value = "CREATER")
    @ApiModelProperty(value = "创建人", name = "creater")
    private String creater;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATER")
    @ApiModelProperty(value = "更新人", name = "updater")
    private String updater;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATE_TIME")
    @ApiModelProperty(value = "更新时间", name = "updateTime")
    private Date updateTime;

    /**
     * 企業編號
     */
    @TableField(value = "ENT_CODE")
    @ApiModelProperty(value = "企業編號", name = "entCode")
    private String entCode;
}
